package mju.cxf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 收藏表
 * </p>
 *
 * @author 乐昌新
 * @since 2024-10-28
 */
@Data
@TableName("cxf_collection")
@ApiModel(value = "Collection对象", description = "收藏表")
public class Collect {


    @ApiModelProperty("收藏id")
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("用户id")
    private Integer userId;

    @ApiModelProperty("商品id")
    private Integer productId;

    @ApiModelProperty("收藏时间")
    private LocalDateTime createTime;


}
